package com.youbff.config;import org.springframework.boot.WebApplicationType;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.builder.SpringApplicationBuilder;import org.springframework.cloud.config.server.EnableConfigServer;import org.springframework.cloud.context.config.annotation.RefreshScope;import org.springframework.cloud.netflix.eureka.EnableEurekaClient;/** * 配置服务 * @author lixuefeng * @version 1.0 * @email youbff@163.com * @createTime 2017年10月24日下午3:06:07 */@SpringBootApplication@EnableConfigServer@EnableEurekaClient@RefreshScopepublic class CloudConfigApplication {    public static void main(String[] args) {        new SpringApplicationBuilder(CloudConfigApplication.class).web(WebApplicationType.SERVLET).run(args);    }}